<?php
define('ENVIRONMENT', isset($_SERVER['ENV']) ? $_SERVER['ENV'] : 'development');
define('ROOTPATH', dirname(__FILE__).DIRECTORY_SEPARATOR);

define('APP_PATH', ROOTPATH.'application'.DIRECTORY_SEPARATOR);
define('CONFIG_PATH', ROOTPATH.'config'.DIRECTORY_SEPARATOR);
define('CORE_PATH', ROOTPATH.'core'.DIRECTORY_SEPARATOR);

require ROOTPATH.'vendor'.DIRECTORY_SEPARATOR.'autoload.php';

require CONFIG_PATH.'autoload.php';
require CONFIG_PATH.'routes.php';
